package com.zh.test.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class Activity {
    public String name;
    public int age;
    public List<Activity2> list;
    @JsonFormat
    public Date time;

    public String getName() {
        return name;
    }

    public Activity setName(String name) {
        this.name = name;
        return this;
    }

    public int getAge() {
        return age;
    }

    public Activity setAge(int age) {
        this.age = age;
        return this;
    }

    public List<Activity2> getList() {
        return list;
    }

    public Activity setList(List<Activity2> list) {
        this.list = list;
        return this;
    }

    public Date getTime() {
        return time;
    }

    public Activity setTime(Date time) {
        this.time = time;
        return this;
    }
}
